﻿using System;
using System.Collections.Generic;
using System.Text;

public class VehicleProperty
{
    private string m_VehiclePropertystring = string.Empty;
    private int? m_VehiclePropertyIndex = null;
    private object m_VehiclePropertyValue = null;

    public VehicleProperty(string i_VehiclePropertystring, int i_VehiclePropertyIndex, object i_VehiclePropertyValue)
    {
        m_VehiclePropertyIndex = i_VehiclePropertyIndex;
        m_VehiclePropertystring = i_VehiclePropertystring;
        m_VehiclePropertyValue = i_VehiclePropertyValue;
    }

    public string VehiclePropertystring
    {
        get { return m_VehiclePropertystring; }
        set { m_VehiclePropertystring = value; }
    }

    public int? VehiclePropertyIndex
    {
        get { return m_VehiclePropertyIndex; }
        set { m_VehiclePropertyIndex = value; }
    }

    public object VehiclePropertyValue
    {
        get { return m_VehiclePropertyValue; }
        set { m_VehiclePropertyValue = value; }
    }

    public new string ToString()
    {
        return m_VehiclePropertyValue.ToString();
    }
}
